home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 23
/
AACD 23.iso
/
AACD
/
Online
/
opennap
/
hashlist.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-06-08
|
691b
|
27 lines
/* Copyright (C) 2000 drscholl@users.sourceforge.net
This is free software distributed under the terms of the
GNU Public License. See the file COPYING for details.
$Id: hashlist.h,v 1.3 2000/11/28 23:55:15 drscholl Exp $ */
#define MAGIC_HASHLIST 0xdb983112
struct hashlist
{
#if DEBUG
u_int magic;
#endif
void *key;
int count;
LIST *list;
};
typedef struct hashlist hashlist_t;
hashlist_t *hashlist_add (HASH * h, void *key, void *data);
int hashlist_remove (HASH * h, void *key, void *data);
int hashlist_count (HASH *h, void *key);
LIST *hashlist_lookup (HASH *h, void *key);
void hashlist_free (hashlist_t *);
int hashlist_validate (hashlist_t *);